<template>
	<view>
		<view style="height: 20upx;"><view style="height: 288upx; background-color:#FBC241;border-radius: 0upx 0upx 40upx 40upx;"></view></view>
		<view class="display">
			<swiper>
				<swiper-item>
					<image class="swiper-item" src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
					<image class="swiper-item" src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				</swiper-item>
				<swiper-item>
					<image class="swiper-item" src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				</swiper-item>
			</swiper>
		</view>
		<view class="time flex-center">
			<label>距结束还剩</label>
			<label class="time-number">06:30:46</label>
		</view>
		<view class="content">
			<view class="content-item flex-between" style="align-items: flex-end;">
				<image src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				<view class="content-item-info flex-column-around">
					<label class="conten-item-info-title">海底捞正宗火锅底料</label>
					<label>500g 特辣</label>
					<label class="conten-item-info-price">拼团价：￥100.00</label>
				</view>
				<view class="content-item-label">
					<view class="content-item-label-top buttonCenter">2人团</view>
					<view class="content-item-label-bottom buttonCenter">拼团中</view>
				</view>
			</view>
			<view class="content-item flex-between" style="align-items: flex-end;">
				<image src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				<view class="content-item-info flex-column-around">
					<label class="conten-item-info-title">海底捞正宗火锅底料</label>
					<label>500g 特辣</label>
					<label class="conten-item-info-price">拼团价：￥100.00</label>
				</view>
				<view class="content-item-label">
					<view class="content-item-label-top buttonCenter">2人团</view>
					<view class="content-item-label-bottom buttonCenter">拼团中</view>
				</view>
			</view>
			<view class="content-item flex-between" style="align-items: flex-end;">
				<image src="https://alipic.lanhuapp.com/xd0cdfd74b-ef97-4ec2-9c91-ddd2bc15bf5e" mode="aspectFill"></image>
				<view class="content-item-info flex-column-around">
					<label class="conten-item-info-title">海底捞正宗火锅底料</label>
					<label>500g 特辣</label>
					<label class="conten-item-info-price">拼团价：￥100.00</label>
				</view>
				<view class="content-item-label">
					<view class="content-item-label-top buttonCenter">2人团</view>
					<view class="content-item-label-bottom buttonCenter">拼团中</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.display{
		width: 686upx;
		margin: 0 auto;
		.swiper-item{
			width: 686upx;
			height: 344upx;
		}
	}
	.time{
		margin-top: 30upx;
		font-size: 24upx;
		font-weight: 500;
		color: #666666;
		.time-number{
			margin-left: 10upx;
			font-size: 40upx;
			font-weight: bold;
			color: #FF5353;
		}
	}
	.content{
		padding-left: 32upx;
		padding-right: 32upx;
		.content-item{
			width: 100%;
			height: 180upx;
			margin-top: 40upx;
			margin-bottom: 20upx;
			image{
				width: 180upx;
				height: 180upx;
			}
			.content-item-info{
				width: 326upx;
				height: 180upx;
				font-size: 24upx;
				font-weight: 500;
				color: #666666;
				.conten-item-info-title{
					font-size: 32upx;
					font-weight: bold;
					color: #333333;
					width: 326upx;
					white-space: nowrap;
					overflow: hidden;
					text-overflow: ellipsis;
				}
				.conten-item-info-price{
					font-size: 24upx;
					font-weight: bold;
					color: #FF5353;
				}
			}
			.content-item-label{
				width: 120upx;
				.content-item-label-top{
					height: 38upx;
					width: calc(100%-2upx);
					background: rgba(255, 134, 88, 0.05);
					border: 2upx solid #FFB758;
					opacity: 1;
					border-radius: 4upx 4upx 0upx 0upx;
					font-size: 20upx;
					font-weight: bold;
					color: #FF8658;
				}
				.content-item-label-bottom{
					height: 40upx;
					width: 100%;
					background: #FFB758;
					opacity: 1;
					border-radius: 0upx 0upx 4upx 4upx;
					font-size: 24upx;
					font-weight: bold;
					color: #FFFFFF;
				}
			}
		}
	}
</style>
